package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class PayConfig implements Serializable {
    /**
     * id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 企业标示
     *
     * @mbg.generated
     */
    private String company;

    /**
     * 类型 APP H5
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 类型 APP JSAPI MWEB
     *
     * @mbg.generated
     */
    private String tradeType;

    /**
     * appid
     *
     * @mbg.generated
     */
    private String appid;

    /**
     * 商户id
     *
     * @mbg.generated
     */
    private String mchId;

    /**
     * 商户公钥
     *
     * @mbg.generated
     */
    private String secret;

    /**
     * 商户后台设置key
     *
     * @mbg.generated
     */
    private String wxKey;

    /**
     * 异步回调url
     *
     * @mbg.generated
     */
    private String notifyUrl;

    /**
     * 支付成功回调页面
     *
     * @mbg.generated
     */
    private String redirectUrl;

    /**
     * ip
     *
     * @mbg.generated
     */
    private String spbillCreateIp;

    /**
     * 密钥地址
     *
     * @mbg.generated
     */
    private String certPath;

    /**
     * token
     *
     * @mbg.generated
     */
    private String token;

    /**
     * sdk临时证明
     *
     * @mbg.generated
     */
    private String ticket;

    private String refundNotifyUrl;

    /**
     * 支付页uri
     *
     * @mbg.generated
     */
    private String payPageUri;

    private Date createTime;

    private Date updateTime;

    /**
     * 版本
     *
     * @mbg.generated
     */
    private String version;

    /**
     * 服务商模式下的子商户APPID
     *
     * @mbg.generated
     */
    private String subAppId;

    /**
     * 服务商模式下的子商户号
     *
     * @mbg.generated
     */
    private String subMchId;

    /**
     * 私钥key路径
     *
     * @mbg.generated
     */
    private String privateKeyPath;

    /**
     * 私钥证书路径
     *
     * @mbg.generated
     */
    private String privateCertPath;

    /**
     * 证书编号
     *
     * @mbg.generated
     */
    private String certSerialNo;

    /**
     * 商户类型：NORMAL 普通商户，ISVSUB 特约商户(服务商模式)
     *
     * @mbg.generated
     */
    private String mchType;

    /**
     * 服务商模式下的子商户appsecret
     *
     * @mbg.generated
     */
    private String subAppSecret;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getWxKey() {
        return wxKey;
    }

    public void setWxKey(String wxKey) {
        this.wxKey = wxKey;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getSpbillCreateIp() {
        return spbillCreateIp;
    }

    public void setSpbillCreateIp(String spbillCreateIp) {
        this.spbillCreateIp = spbillCreateIp;
    }

    public String getCertPath() {
        return certPath;
    }

    public void setCertPath(String certPath) {
        this.certPath = certPath;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getRefundNotifyUrl() {
        return refundNotifyUrl;
    }

    public void setRefundNotifyUrl(String refundNotifyUrl) {
        this.refundNotifyUrl = refundNotifyUrl;
    }

    public String getPayPageUri() {
        return payPageUri;
    }

    public void setPayPageUri(String payPageUri) {
        this.payPageUri = payPageUri;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSubAppId() {
        return subAppId;
    }

    public void setSubAppId(String subAppId) {
        this.subAppId = subAppId;
    }

    public String getSubMchId() {
        return subMchId;
    }

    public void setSubMchId(String subMchId) {
        this.subMchId = subMchId;
    }

    public String getPrivateKeyPath() {
        return privateKeyPath;
    }

    public void setPrivateKeyPath(String privateKeyPath) {
        this.privateKeyPath = privateKeyPath;
    }

    public String getPrivateCertPath() {
        return privateCertPath;
    }

    public void setPrivateCertPath(String privateCertPath) {
        this.privateCertPath = privateCertPath;
    }

    public String getCertSerialNo() {
        return certSerialNo;
    }

    public void setCertSerialNo(String certSerialNo) {
        this.certSerialNo = certSerialNo;
    }

    public String getMchType() {
        return mchType;
    }

    public void setMchType(String mchType) {
        this.mchType = mchType;
    }

    public String getSubAppSecret() {
        return subAppSecret;
    }

    public void setSubAppSecret(String subAppSecret) {
        this.subAppSecret = subAppSecret;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", company=").append(company);
        sb.append(", type=").append(type);
        sb.append(", tradeType=").append(tradeType);
        sb.append(", appid=").append(appid);
        sb.append(", mchId=").append(mchId);
        sb.append(", secret=").append(secret);
        sb.append(", wxKey=").append(wxKey);
        sb.append(", notifyUrl=").append(notifyUrl);
        sb.append(", redirectUrl=").append(redirectUrl);
        sb.append(", spbillCreateIp=").append(spbillCreateIp);
        sb.append(", certPath=").append(certPath);
        sb.append(", token=").append(token);
        sb.append(", ticket=").append(ticket);
        sb.append(", refundNotifyUrl=").append(refundNotifyUrl);
        sb.append(", payPageUri=").append(payPageUri);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", version=").append(version);
        sb.append(", subAppId=").append(subAppId);
        sb.append(", subMchId=").append(subMchId);
        sb.append(", privateKeyPath=").append(privateKeyPath);
        sb.append(", privateCertPath=").append(privateCertPath);
        sb.append(", certSerialNo=").append(certSerialNo);
        sb.append(", mchType=").append(mchType);
        sb.append(", subAppSecret=").append(subAppSecret);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}